/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.nuboat.easyjsf.action;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

/**
 *
 * @author nuboat
 */
@RequestScoped
@ManagedBean(name="ajaxAction")
public class AjaxAction extends BaseAction {

    private String str;
    private String echoStr;

    public AjaxAction() { }

    public String echo() {
        echoStr = "{{{{{{ " + str + " }}}}}}";
        return null;
    }

    public String getStr() {
        return this.str;
    }

    public void setStr(String str) {
        this.str = str;
    }

    public String getEchoStr() {
        return echoStr;
    }

}